package com.xx.sg.own.service.impl;

import com.xx.sg.own.mapper.FacilityMapper;
import com.xx.sg.own.service.FacilityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FacilityServiceImpl implements FacilityService {

    @Autowired
    private FacilityMapper facilityMapper;

    @Override
    public List<Map<String, String>> getKeyWords(String word) {
        return facilityMapper.getKeyWords(word);
    }

    @Override
    public List<Map<String, String>> getDtaList(String word) {
        return facilityMapper.getDtaList(word);
    }
}
